home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sounds Terrific 1
/
Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso
/
modules
/
s
/
street02.mod
< prev
next >
Wrap
Text File
|
1994-08-04
|
2KB
|
41 lines
STREET02.MOD
Streetdoc #1 @2503
Fri Dec 20 19:27:40 1991
/***********************************************************
MODNAME: STREET02.MOD Date: 12/20/1991
Difficulty: NOT
Version: 4.20
Author: Streetdoc 1@2503
Function: Sends short message to you, notifying you of any uploads
Why: I don't always remember to check my sysop dir for any new uploads
and I don't always check my sysoplog as I should, so I needed a
way to know when a user had uploaded a file. This (mini)-mod sends
a short message to you as you logon with this info. This mod assumes
that you force all uploads to your sysop dir. It replaces the upload
dir with the user name in the sysoplog and the short message. The
ssm(x,0,s) is used, with the x being the account that the note is
sent to and the s being the message sent.
(Insert favorite disclaimer here........)
****************************************************************/
All the changes are in XFER.C. in void upload()
++status.uptoday; /* search for this */
save_status();
sprintf(s,"+%s uploaded by %s",u.filename,thisuser.name); /* change */
sysoplog(s);
ssm(1,0,s); /* add */
nl();
nl();
pl("File uploaded.");
nl();
npr("Your ratio is now: %-6.3f\r\n", ratio());
nl();
2Streetdoc's Bar and Grill--7Tuscaloosa, Alabama--4205-391-4982
3Autovalidation of WWIVnet Sysops--1WWIVnet 2503/VirtualNet 2503
7Soon to be using Intel's 14.4EX Modem!